package com.iris.nio;

import java.io.IOException;
import java.util.Scanner;

public class SocketClientSend {
    public static void main(String[] args) throws IOException {
        SocketClient sc = new SocketClient();
        Thread thread = new Thread(sc);
        thread.start();
        Scanner scanner = new Scanner(System.in);
        while(scanner.hasNextLine()){
            sc.send(scanner.nextLine());
        }
    }
}
